package com.tao.mapper;

import com.tao.pojo.Coding;
import com.tao.pojo.Pic;
import com.tao.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PicMapper {
    public int deleteByPrimaryKey(Integer id);

    public Pic selectByPrimaryKey(Integer id);

    public  int updateByPrimaryKeySelective(Pic record);

    public  int updateByPrimaryKey(Pic record);

    @Select("select * from pic")
    public List<Pic> selectAll();

    public int insertPic(Pic pic);
}